package com.winenine999.jdbc.dao;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.winenine999.model.Page;
import com.winenine999.util.MyBatisPaginate;
@Repository
public class PurchaseDao {
	@Autowired
	private MyBatisPaginate myBatisPaginate;
	private String nameSpace="com.winenine999.custom.dao.CPurchaseMapper.";
	
	public Page findPagePurchase(Page page){
		myBatisPaginate.executeQueryPage(page,nameSpace+"findAllPurchase");
		return page;
	}

}
